<?php  $greska_id = $greska->getId() ?>
<table class="statistike drop" cellspacing="0" cellpadding="0" border="1" width="650" style="border-collapse: collapse; empty-cells: show;">

  <tr>
    <th>Text</th>
    <th>Odgovor</th>
    <th>Rešen</th>
  </tr>

  <tr>
    <td style="width: 45%;"><?php echo $greska->getText() ?></td>
    <td style="width: 45%;"><textarea style="" rows="8" cols="50" name="odgovor_<?php echo $greska_id ?>" id="odgovor_<?php echo $greska_id ?>"><?php echo $greska->getOdgovor() ?></textarea></td>
    <td style="width: 9%;"><input id="status_<?php echo $greska_id ?>" name="status_<?php echo $greska_id ?>" type="checkbox" <?php echo (($greska->getStatus() > 1) ? 'checked="checked"' : '') ?></td>
  </tr>

  <tr>
    <td colspan="3"><button id="odgovori_<?php echo $greska_id ?>" onclick="odgovorGreske(this.id)">Odgovori</button><span id="feedback_<?php echo $greska_id ?>"></span></td>
  </tr>
</table>